package com.nwpu.am.pojo.dto;

import io.swagger.annotations.ApiModel;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotEmpty;

/**
 * PartAddDTO
 *
 * @author Du
 * @version 1.0
 * {@code @date} 2024/6/7
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("零件添加传输对象")
public class PartAddDTO {
    @NotEmpty
    private String partName;
    @NotEmpty
    private int partNum;
    @NotEmpty
    private int price;
    private long warehouseId;
    @NotEmpty
    private String warehouseName;

}
